package cn.hs.ph.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Community {
    private int communityId;
    private String communityName;
    private String communityProvince;
    private String communityCity;
    private String communityDistrict;
    private String communityAddress;
    private String communityLatitude;
    private String communityLongitude;
    @JSONField(format = "yyyy-MM-dd")
    private Date createTime;
    private int communityShopCount;
    private int communityAreaCode;
    private String communityCoordinates;
    private int communityStatus;
    private int communityUserCount;
    private String distance;

    public Community() {
    }



    public Community(int communityId, String communityName, String communityProvince, String communityCity, String communityDistrict, String communityAddress, String communityLatitude, String communityLongitude, Date createTime, int communityShopCount, int communityAreaCode, String communityCoordinates, int communityStatus, int communityUserCount, String distance) {
        this.communityId = communityId;
        this.communityName = communityName;
        this.communityProvince = communityProvince;
        this.communityCity = communityCity;
        this.communityDistrict = communityDistrict;
        this.communityAddress = communityAddress;
        this.communityLatitude = communityLatitude;
        this.communityLongitude = communityLongitude;
        this.createTime = createTime;
        this.communityShopCount = communityShopCount;
        this.communityAreaCode = communityAreaCode;
        this.communityCoordinates = communityCoordinates;
        this.communityStatus = communityStatus;
        this.communityUserCount = communityUserCount;
        this.distance = distance;
    }

    public Community(int communityId) {
    }

    /**
     * 获取
     * @return communityId
     */
    public int getCommunityId() {
        return communityId;
    }

    /**
     * 设置
     * @param communityId
     */
    public void setCommunityId(int communityId) {
        this.communityId = communityId;
    }

    /**
     * 获取
     * @return communityName
     */
    public String getCommunityName() {
        return communityName;
    }

    /**
     * 设置
     * @param communityName
     */
    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    /**
     * 获取
     * @return communityProvince
     */
    public String getCommunityProvince() {
        return communityProvince;
    }

    /**
     * 设置
     * @param communityProvince
     */
    public void setCommunityProvince(String communityProvince) {
        this.communityProvince = communityProvince;
    }

    /**
     * 获取
     * @return communityCity
     */
    public String getCommunityCity() {
        return communityCity;
    }

    /**
     * 设置
     * @param communityCity
     */
    public void setCommunityCity(String communityCity) {
        this.communityCity = communityCity;
    }

    /**
     * 获取
     * @return communityDistrict
     */
    public String getCommunityDistrict() {
        return communityDistrict;
    }

    /**
     * 设置
     * @param communityDistrict
     */
    public void setCommunityDistrict(String communityDistrict) {
        this.communityDistrict = communityDistrict;
    }

    /**
     * 获取
     * @return communityAddress
     */
    public String getCommunityAddress() {
        return communityAddress;
    }

    /**
     * 设置
     * @param communityAddress
     */
    public void setCommunityAddress(String communityAddress) {
        this.communityAddress = communityAddress;
    }

    /**
     * 获取
     * @return communityLatitude
     */
    public String getCommunityLatitude() {
        return communityLatitude;
    }

    /**
     * 设置
     * @param communityLatitude
     */
    public void setCommunityLatitude(String communityLatitude) {
        this.communityLatitude = communityLatitude;
    }

    /**
     * 获取
     * @return communityLongitude
     */
    public String getCommunityLongitude() {
        return communityLongitude;
    }

    /**
     * 设置
     * @param communityLongitude
     */
    public void setCommunityLongitude(String communityLongitude) {
        this.communityLongitude = communityLongitude;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return communityShopCount
     */
    public int getCommunityShopCount() {
        return communityShopCount;
    }

    /**
     * 设置
     * @param communityShopCount
     */
    public void setCommunityShopCount(int communityShopCount) {
        this.communityShopCount = communityShopCount;
    }

    /**
     * 获取
     * @return communityAreaCode
     */
    public int getCommunityAreaCode() {
        return communityAreaCode;
    }

    /**
     * 设置
     * @param communityAreaCode
     */
    public void setCommunityAreaCode(int communityAreaCode) {
        this.communityAreaCode = communityAreaCode;
    }

    /**
     * 获取
     * @return communityCoordinates
     */
    public String getCommunityCoordinates() {
        return communityCoordinates;
    }

    /**
     * 设置
     * @param communityCoordinates
     */
    public void setCommunityCoordinates(String communityCoordinates) {
        this.communityCoordinates = communityCoordinates;
    }

    /**
     * 获取
     * @return communityStatus
     */
    public int getCommunityStatus() {
        return communityStatus;
    }

    /**
     * 设置
     * @param communityStatus
     */
    public void setCommunityStatus(int communityStatus) {
        this.communityStatus = communityStatus;
    }

    /**
     * 获取
     * @return communityUserCount
     */
    public int getCommunityUserCount() {
        return communityUserCount;
    }

    /**
     * 设置
     * @param communityUserCount
     */
    public void setCommunityUserCount(int communityUserCount) {
        this.communityUserCount = communityUserCount;
    }

    /**
     * 获取
     * @return distance
     */
    public String getDistance() {
        return distance;
    }

    /**
     * 设置
     * @param distance
     */
    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String toString() {
        return "Community{communityId = " + communityId + ", communityName = " + communityName + ", communityProvince = " + communityProvince + ", communityCity = " + communityCity + ", communityDistrict = " + communityDistrict + ", communityAddress = " + communityAddress + ", communityLatitude = " + communityLatitude + ", communityLongitude = " + communityLongitude + ", createTime = " + createTime + ", communityShopCount = " + communityShopCount + ", communityAreaCode = " + communityAreaCode + ", communityCoordinates = " + communityCoordinates + ", communityStatus = " + communityStatus + ", communityUserCount = " + communityUserCount + ", distance = " + distance + "}";
    }

    public Community(int communityId, String communityName, String communityProvince, String communityCity, String communityDistrict, String communityAddress, String communityLatitude, String communityLongitude, int communityAreaCode, String communityCoordinates) {
        this.communityId = communityId;
        this.communityName = communityName;
        this.communityProvince = communityProvince;
        this.communityCity = communityCity;
        this.communityDistrict = communityDistrict;
        this.communityAddress = communityAddress;
        this.communityLatitude = communityLatitude;
        this.communityLongitude = communityLongitude;
        this.communityAreaCode = communityAreaCode;
        this.communityCoordinates = communityCoordinates;
    }
}
